home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / t3_1 / risc_src.lha / risc_sources / sys / pmax_files.t < prev    next >
Text File  |  1990-04-12  |  8KB  |  284 lines

  1. (herald vax_unix_files)
  2.  
  3. ;;; Copyright (c) 1985 Yale University
  4. ;;;     Authors: N Adams, R Kelsey, D Kranz, J Philbin, J Rees.
  5. ;;; This material was developed by the T Project at the Yale University Computer 
  6. ;;; Science Department.  Permission to copy this software, to redistribute it, 
  7. ;;; and to use it for any purpose is granted, subject to the following restric-
  8. ;;; tions and understandings.
  9. ;;; 1. Any copy made of this software must include this copyright notice in full.
  10. ;;; 2. Users of this software agree to make their best efforts (a) to return
  11. ;;;    to the T Project at Yale any improvements or extensions that they make,
  12. ;;;    so that these may be included in future releases; and (b) to inform
  13. ;;;    the T Project of noteworthy uses of this software.
  14. ;;; 3. All materials developed as a consequence of the use of this software
  15. ;;;    shall duly acknowledge such use, in accordance with the usual standards
  16. ;;;    of acknowledging credit in academic research.
  17. ;;; 4. Yale has made no warrantee or representation that the operation of
  18. ;;;    this software will be error-free, and Yale is under no obligation to
  19. ;;;    provide any services, by way of maintenance, update, or otherwise.
  20. ;;; 5. In conjunction with products arising from the use of this material,
  21. ;;;    there shall be no use of the name of the Yale University nor of any
  22. ;;;    adaptation thereof in any advertising, promotional, or sales literature
  23. ;;;    without prior written consent from Yale in each case.
  24. ;;;
  25.  
  26. (block
  27.   (define *vm-modules*
  28.           '((osys pmaxkernel)
  29.             (osys risckernel)
  30.         (osys risc_dispatch)
  31.             (t3_primops mipsconstants)
  32.             (osys risclap)
  33.             (t3_primops locations) ;++ talk to RK about this
  34.                                       ; operation needs locations
  35.             (osys vm_boot)
  36.             (osys kernel)
  37.  
  38.             ;; Continuation stuff
  39.             (osys handler)   ; must occur before any DEFINE-HANDLER
  40.             (osys frame)
  41.             (osys throw)
  42.             (osys operation)       ; kernel needs %operation
  43.  
  44.             ;; VM error system
  45.             (osys error)
  46.             (osys unix_pmax)
  47.             (osys unix_fault)
  48.  
  49.             ;; Primitive procedures
  50.             (osys fixnum)
  51.             (osys list)
  52.             (osys map)        ; uses list
  53.             (osys character)  ; uses list
  54.             (osys string)     ; uses list, character
  55.             (osys vector)     ; uses list 
  56.             (osys symbol)     ; uses string
  57.             (osys struct)     ; uses list
  58.  
  59.             ;; closed compiled primops
  60.             (t3_primops mipsprimops)
  61.             (t3_primops mipsarith)
  62. ;++         (t3_primops locations)  ; setter is closed compiled
  63.             (t3_primops mipslow)
  64.             (t3_primops predicates)
  65.             (t3_primops open)
  66.             (t3_primops aliases)
  67.             (t3_primops carcdr)
  68.             (t3_primops mipsgenarith)
  69.  
  70.             ;; Storage management
  71.             (osys weak)
  72.             (osys free)
  73.             (osys pool)
  74.             (osys string_buf)
  75.             (osys table)
  76.             (osys table_entry)
  77.             (osys table_util)
  78.             (osys weak_table)
  79.             (osys hash)        ; must come after weak_table
  80.             (osys inf_vector)
  81.  
  82.             ;; VM file system
  83.             (osys buffer)
  84.             (osys port_op)
  85.             (osys unix_vmport)
  86.             (osys vm_port)
  87.  
  88.             ;; VM system
  89.             (osys environment)  ; must preceed any DEFINE-SYNTAX
  90.             (osys vm_system)))
  91.  
  92.   ;;; Closed compiled versions of primops.  In a system which doesn't
  93.   ;;; contain an interpreter these files are not necessary.
  94.  
  95.   (define *closed-compiled-primops*
  96.           '((t3_primops vaxconstants)
  97.             (t3_primops vaxprimops)
  98.             (t3_primops vaxarith)
  99.             (t3_primops locations) 
  100.             (t3_primops vaxlow)
  101.             (t3_primops predicates)
  102.             (t3_primops open)
  103.             (t3_primops aliases)
  104.             (t3_primops carcdr)
  105.             (t3_primops garbage)
  106.             ))
  107.  
  108.   ;;; Z system
  109.  
  110.   ;;; The Z system depends only on the VM
  111.   (define *z-system-modules*
  112.           '((osys zread)
  113.             (osys zprint)
  114.             (osys zeval)
  115.             (osys zload)          ; not neaded if loader is not present
  116.             (osys zsystem)))
  117.  
  118.   (define *bootstrap-z-system*
  119.     (append *vm-modules*
  120.             *z-system-modules*))
  121.  
  122.   ;;; Garbage collector, scanner, suspender
  123.  
  124.   (define *garbage-collector*
  125.           '((osys scanner)
  126.         ;    (osys gc_auxiliary)
  127.         ;    (osys suspender)
  128.             (osys unix_gc)
  129.             (osys gc_weak)
  130.             (osys gc)
  131.             (osys gc_top)
  132.             ))
  133.  
  134.   ;;; Loader
  135.   ;;; Storage management must be present in order to use the loader.
  136.  
  137.   (define *loader-modules*
  138.           '((osys dump_codes)
  139.             (osys retrieve)
  140.             (osys risc_comex)
  141.             (osys load_comex)
  142.             ))             ; this could come later
  143.  
  144.   (define *operation-dispatch-modules*
  145.         '(
  146.           (osys condition)    ; Exceptions
  147.           (osys location)
  148.           ))
  149.  
  150.   (define *ZVM-system*     ; VM with Z system
  151.     (append
  152.             *vm-modules*
  153.             *z-system-modules*
  154.             *garbage-collector*
  155.             *loader-modules*
  156.             *operation-dispatch-modules*
  157.             '((osys unix)
  158.               (osys z_undefined))
  159.             ))
  160.  
  161.  
  162.  
  163.   (define *VM-system*      ; VM as a runtime library
  164.     (append
  165.             *vm-modules*
  166.             *garbage-collector*
  167.             *loader-modules*))
  168.  
  169.   ;;; Object and operation stuff
  170.  
  171.  
  172.   ;;; Arithmetic - the order of arithmetic modules is important
  173.  
  174.   (define *arithmetic-modules*
  175.           '((osys ratio)
  176.             (osys unix_float)
  177.             (osys ieee_float)
  178.             (osys arith)
  179.             (osys risc_bignum)
  180.             (osys big_fixnum)
  181.             (osys big_util)
  182.             (osys bignum)
  183.             (osys big_arith)
  184.             (osys dispatch)
  185.             (osys random)
  186.             (osys equality)
  187.             ;(osys single_float)
  188.             ;(osys double-float)
  189.             ;(osys complex)
  190.             ))
  191.  
  192.   (define *file-system-modules*
  193.         '(
  194.          (osys port)
  195.          (osys unix_port)
  196.          (osys sort)
  197.          (osys herald)
  198.          (osys load)
  199.          (osys dump)
  200.          (osys dump_comex)
  201.          ))
  202.  
  203.  
  204.   ;; Syntax system
  205.   (define *syntax-system-modules*
  206.           '(
  207.             (osys syntax)
  208.             (osys pattern)
  209.             (osys sp_form)
  210.             (osys macros)        ; ENV calls MAKE-TABLE which calls GC_STAMP
  211.             (osys cond)
  212.             (osys let)
  213.             (osys quasiquote)
  214.             (osys object)       ; object macro
  215.             (osys modify)
  216.             ))
  217.  
  218.   (define *t-repl-modules*
  219.       '((osys readtable)
  220.         (osys recognize)
  221.         (osys read)
  222.         (osys sym_printer)
  223.         (osys format)
  224.         (osys pfloat)
  225.         (osys eval)
  226.         (osys repl)
  227.         (osys fs_parse)
  228.         (osys fs)
  229.         (osys tree)
  230.         (osys sets)
  231.         (osys combinators)
  232.         (osys transcript)
  233.         (osys  exports)
  234.         (osys obsolete)
  235.         (osys tsystem)
  236.         ))
  237.  
  238.  
  239.   (define *inspector-modules*
  240.       '((osys crawl)
  241.         (osys debug)
  242.         (osys trace)
  243.     (osys break)
  244.         (osys pp)
  245.     (osys unix_timer)
  246.         ))
  247.  
  248.   (define *t-system*
  249.     (append
  250.             *vm-modules*
  251.             *z-system-modules*
  252.             *garbage-collector*
  253.             *loader-modules*
  254.             *operation-dispatch-modules*
  255.             '((osys unix))
  256.             *arithmetic-modules*
  257.             *file-system-modules*
  258.             *syntax-system-modules*
  259.             *inspector-modules*
  260.             *t-repl-modules*
  261.             ))
  262.  
  263.   (define *t-modules*
  264.     (append *vm-modules*
  265.             *z-system-modules*
  266.             *garbage-collector*
  267.             *loader-modules*
  268.             *operation-dispatch-modules*
  269.             *arithmetic-modules*
  270.             *file-system-modules*
  271.             *syntax-system-modules*
  272.             *inspector-modules*
  273.             *t-repl-modules*))
  274.  
  275.  
  276.   (define *library-modules*
  277.           '(
  278.             (osys loop)
  279.             (osys for)
  280.             (osys moremaps)
  281.             ))
  282.  
  283. )
  284.